package com.roiland.contentproviderdemo;

import android.net.Uri;

/**
 * Created by wenhui.li on 2015/8/27.
 */
public class ContentConstants {
    /**
     * 表格名称
     */
    public static final String TABLE_NAME = "profile";

    /**
     * 列表一，_ID，自动增加
     */
    public static final String COLUMN_ID = "_id";

    /**
     * 列表二，名称
     */
    public static final String COLUMN_NAME = "name";


    public static final String AUTOHORITY = "com.kingtone.provider";
    public static final int ITEM = 1;
    public static final int ITEM_ID = 2;

    public static final String CONTENT_TYPE = "vnd.android.cursor.dir/profile";
    public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/profile";

    public static final Uri CONTENT_URI = Uri.parse("content://" + AUTOHORITY + "/profile");
}

